<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title><?php echo ($content["title"]); ?>-<?= $setting['webname'] ?></title>
		<meta name="keywords" content="<?php echo ($content["keywords"]); ?>" />
        <meta name="description" content="<?php echo ($content["description"]); ?>" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
        <meta http-equiv="X-UA-Compatible" content="IE=Edge，chrome=1">
        <link rel="stylesheet" type="text/css" href="/botutp/Public/home/css/html5.css" />
        <link rel="stylesheet" href="/botutp/Public/home/css/index.css" />
        <link rel="stylesheet" type="text/css" href="/botutp/Public/home/css/main.css" />
        <link rel="stylesheet" href="/botutp/Public/home/css/details.css" /> 
        <script type="text/javascript" src="/botutp/Public/home/js/jquery-1.10.2.min.js"></script>
        <script type="text/javascript" src="/botutp/Public/home/js/jquery.easing.min.js"></script>
        <script type="text/javascript" src="/botutp/Public/home/js/main.js"></script>
    </head>
    <body>
        <div class="zhuye_head c">
            <div class="zhuye_head c">
    <div class="zhuye_hd c">
        <h4 onclick="location.href='<?php echo U('index/index');?>'"></h4>
        <h5>
            <form action="searchlist.php" method="post">
                <i class="fl">
                    <input name="key" type="search" placeholder="例如：<?=$setting['searchkey']?>"/>
                </i>
                <em class="fl">
                    <strong style="cursor: pointer" onclick="javascript:$('form').submit()">搜索</strong>
                </em>
            </form>
        </h5>
    </div>
</div>
 
        </div>
        <div style="border-bottom: 1px solid #d0d0d0;width: 100%;height: 150px;"> 
            <div style="position: relative;width: 1150px;height: 150px;margin: 0 auto;">
                <div class="xqy_nav c">
                    <div class="shouye_nav_hd c">
						<ul>
    <li><a href="<?=U('index/index')?>">首页</a>
    </li>
    <?php
 foreach ($nav AS $v): ?>
    <li>
        <?= $v['cname'] ?>
        <div class="guancang_ct">
            <ul> 
                <?php  foreach ($v['erji'] AS $val): ?>
                <li>
                    <a href="category.php?yiji=<?= $yijiname ?>&erji=<?= $val['erjinavname'] ?>"><?= $val['cname'] ?></a>
                </li>
                <?php endforeach; ?>
            </ul>
        </div>
    </li>
    <?php endforeach; ?> 
</ul> 
                    </div> 
                </div>
            </div>
        </div>
        <div class="xqy_bg">
            <div class="xqy_bg_hd">
                当前位置：
                <a href="<?php echo U('index/index');?>">首页</a>
                >
                <?php echo ($content["title"]); ?>
                </p>
            </div>
            <div class="c" style="width: 100%;height:auto;font-size: 18px;">
				<?php echo ($content["content"]); ?>
            </div>
        </div>
        <!--底部-->
<div class="footer">
    <span style="width: 100%;">
        <i>友情链接:</i> 
        <?php  foreach ($link AS $v): ?>
            <a href="<?= $v['url'] ?>" target="_blank"><?= $v['sitename'] ?></a>|
        <?php endforeach; ?> 
        <a href="<?php echo U('message/index');?>" >用户留言</a>
    </span>
    <p>	<?= $setting['webname'] ?>&nbsp;|&nbsp;
		<a href="<?php echo U('content/index',array('id'=>4));?>" style="color: #2b2a2a;">公司概况</a>&nbsp;|&nbsp;
		<a href="<?php echo U('content/index',array('id'=>5));?>" style="color: #2b2a2a;">业务范围</a>&nbsp;|&nbsp;
		<a href="<?php echo U('content/index',array('id'=>6));?>" style="color: #2b2a2a;">联系我们</a>
	</p>
    <p><?= $setting['company'] ?>    &nbsp; &nbsp;   <?= $setting['icp'] ?>    &nbsp; &nbsp;    电话：<?= $setting['tel'] ?>   &nbsp; &nbsp;  技术支持：<?= $setting['address'] ?></p>
</div>
    </body>

</html>